#ifndef LINEBUF_H__
#define LINEBUF_H__

#ifdef __cplusplus
extern "C" {
#endif

#define LINEBUF_MAX 1024

int add_linebuf(const char *s, int len);
int backspace_linebuf(void);
void init_linebuf(void);

int get_linebuf(const char **buf);

#ifdef __cplusplus
}
#endif

#endif


